package net.qunzhi.modules.app.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Digits;
import java.util.Date;

/**
 * 设备保养计划dto
 * Created by lsd
 * 2019-08-16 15:35
 */
@ApiModel("设备保养计划")
@Data
public class DeviceMaintainPlanDto {

    @ApiModelProperty("设备id")
    private Long id;
    @ApiModelProperty("保养周期")
    @Digits(integer = 5, fraction = 0, message = "请输入5位以内的整数")
    private Integer cycle;
    @ApiModelProperty("保养计划状态（0：进行中，1：已停用）")
    private Integer maintainStatus;
    @ApiModelProperty("保养负责人ID")
    private Long maintainUserId;
    @ApiModelProperty("保养内容")
    private String maintainContent;
    @ApiModelProperty("投用日期")
    private Date useTime;

}
